﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Management.master" AutoEventWireup="true" EnableEventValidation="false"
 CodeFile="reject_users.aspx.cs" Inherits="User_reject_users" %>

<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">
    <asp:ScriptManager runat="server" ID="smgrUser" EnablePartialRendering="true">
    </asp:ScriptManager>
    <div class="contents">
        <table width="100%" cellpadding="3" cellspacing="0" border="0">
            <tr>
                <td colspan="2">
                    <h1>
                        User Reports - Reject Users Email</h1>
                </td>
            </tr>
            <tr>
                <td style="width:100px;"><b>Reject Type</b></td>
                <td>                    
                    <asp:DropDownList ID="ddlRejectType" runat="server">
                        <asp:ListItem Text="Select" Value="0" Selected="True"></asp:ListItem>
                        <asp:ListItem Text="1.EDM - Bounced Update" Value="1"></asp:ListItem>
                        <asp:ListItem Text="2.EDM - Unsubscribe Update" Value="2"></asp:ListItem>
                        <asp:ListItem Text="3.EDM - NoLongerWorking Update" Value="3"></asp:ListItem>
                        <asp:ListItem Text="4.EDM - Invalid number Update" Value="4"></asp:ListItem>
                    </asp:DropDownList>
                    <asp:RequiredFieldValidator ID="rfvRejectType" runat="server" ControlToValidate="ddlRejectType" InitialValue="0"
                        Display="Dynamic" ErrorMessage="" Text="Please select Reject Type" ValidationGroup="unsubscribe">
                    </asp:RequiredFieldValidator>
                </td>
            </tr>
            <tr>
                <td style="width:100px;" valign="top"><b>User Email</b></td>
                <td>
                    <asp:TextBox ID="txtEmail" runat="server" Width="600px" TextMode="MultiLine" Height="150px"></asp:TextBox>
                    <asp:RequiredFieldValidator ID="rfvEmail" runat="server" ControlToValidate="txtEmail"
                        Display="Dynamic" ErrorMessage="" Text="Email should not be Empty" ValidationGroup="unsubscribe">
                    </asp:RequiredFieldValidator>
                </td>
            </tr>
            <tr>
                <td style="width:100px;">&nbsp;</td>
                <td>
                    <asp:Button ID="btnReject" runat="server" OnClick="btnReject_Click" Text="Submit" Width="100px" ValidationGroup="unsubscribe" />&nbsp;
                    <asp:Button ID="btnClear" runat="server" OnClick="btnClear_Click" Text="Clear" Width="100px"  />
                    <br /><asp:Label runat="server" ID="lblMessage" Text="" ForeColor="Green" Font-Bold="true"></asp:Label>
                    <asp:Label runat="server" ID="lblError" Text="" ForeColor="Red" Font-Bold="true"></asp:Label>
                </td>
            </tr>
            <tr runat="server" id="trAlredyRejected" visible="false">
                <td style="width:100px;" valign="top"><b>Already Rejected</b></td>
                <td>
                    <asp:TextBox ID="txtAlredyRejected" runat="server" Width="600px" TextMode="MultiLine" Height="150px"></asp:TextBox>
                </td>
            </tr>
        </table>
    </div>

</asp:Content>


